package com.ruoyi.common.exception.base.domian;

/**
 * @Classname EntityNotFoundException
 * @Author: sunluquan
 * @Date: 2022/7/7 09:58
 * @Description TODO
 */
public class EntityNotFoundException extends BaseEntityException{

    public EntityNotFoundException(String module, String code, Object[] args, String defaultMessage) {
        super(module, code, args, defaultMessage);
    }

    public EntityNotFoundException(String module, String code, Object[] args) {
        this(module, code, args ,null);
    }

    public EntityNotFoundException(String module, String defaultMessage) {
        this(module , null ,null , defaultMessage);
    }

    public EntityNotFoundException(String code, Object[] args) {
        this(null,code, args,null);
    }

    public EntityNotFoundException(String defaultMessage) {
        this(null,null,null,defaultMessage);
    }

    public EntityNotFoundException() {
        this("数据未找到！");
    }
}
